﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="list.aspx.cs" Inherits="lgweb.inside.intColumn.list" %>
<%@ Register src="~/control/inside/department/IntHeader.ascx" tagname="header" tagprefix="uc1" %>
<%@ Register src="~/control/inside/department/footer.ascx" tagname="footer" tagprefix="uc2" %>
<%@ Register src="~/control/inside/pager.ascx" tagname="pager" tagprefix="uc3" %>
<%@ Register src="~/control/inside/department/IntMenu.ascx" tagname="department" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>廉政专栏-龙院内部工作平台</title>
    <link href="/css/inside/base.css" rel="stylesheet" type="text/css" />
    <link href="/css/inside/intColumn.css" rel="stylesheet" type="text/css" />
    <script src="/js/inside/department.js" type="text/javascript"></script>
    <script src="/js/common/calendar.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <uc1:header ID="header1" runat="server" />
    <div class="content clear">
        <div class="con231 g-mr-18">
            <uc4:department ID="department1" runat="server" />
        </div>
        <div class="con951">
            <div class="box-red">
                <p class="b-r-top"></p>
                <div class="b-r-con">
                    <div class="g-here">当前位置：<a href="/inside/index.aspx">首页</a> > <a href="/inside/intColumn/list.aspx" id="spDeptLink" runat="server">政治处</a> > <span id="spNewsName" runat="server">部门动态</span></div>
                     <div class="g-search">                        
                        <label>日期:</label><input type="text" value=""  id="txtStartDate" class="text" onclick="new Calendar().show(this);" size="10" maxlength="10" readonly="readonly"  runat="server"/><label>至</label><input type="text"  id="txtEndDate" value="" class="text" onclick="new Calendar().show(this);" size="10" maxlength="10" readonly="readonly" runat="server"/>
                        <label>关键字:</label><input type="text" value="" id="txtKeyword" class="text"  runat="server"/>
                        <input type="button" value="搜索" class="g-btn-red" onclick="search('<%=_DeptID%>',<%=_ClassID%>');" />
                    </div>
                    <div class="g-con-red">
                        <ul class="ico4">
                        <asp:Repeater runat="Server" ID="rptInfoList">
                                 <ItemTemplate>            
                                           <li><span class="g-fr">[<%#Eval("Comefrom")%><%#Eval("PubDate")==null?"":DateTime.Parse(Eval("PubDate").ToString()).ToString("yyyy-MM-dd")%>]</span><a href="/inside/intColumn/detail.aspx?id=<%#Eval("ID")%>&classid=<%=_ClassID%>&deptid=<%=_DeptID%>&cate=<%=_cate%>" title="<%#Eval("Title")%>"><%#LGCourt.Logic.Common.Utils.SubString(Eval("Title"), 60)%></a></li>
<%--                                       <li><span class="g-fr">[<%#Eval("from")%> <%#DateTime.Parse(Eval("createart").ToString()).ToString("yyyy-MM-dd")%>]</span><a href="/inside/department/detail.aspx?aid=<%#Eval("aid")%>&Code=<%=_deptCode%>&cate=<%=_cate%>&menu=<%=_Menu%>" ><%#Eval("title")%></a></li>
--%>                               </ItemTemplate>
                            </asp:Repeater>  
                        </ul>
                    </div>
                    <div>
                        <uc3:pager ID="pager1" runat="server" />
                    </div>
                </div>
                <p class="b-r-bottom"></p>
            </div>
        </div>
    </div>
    <uc2:footer ID="footer1" runat="server" />
    </form>
</body>
</html>
<script type="text/javascript">
    function search(deptid, classid) {        
        var start = document.getElementById("txtStartDate").value;
        var end = document.getElementById("txtEndDate").value;
        var keyword = document.getElementById("txtKeyword").value;

        window.location.href = "/inside/intColumn/list.aspx?keyword=" + encodeURIComponent(keyword) + "&start=" + start + "&end=" + end + "&deptid=" + deptid + "&classid=" + classid;
    }
</script>